home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
qbbs
/
keeplr11.zip
/
KEEPLR11.DOC
< prev
next >
Wrap
Text File
|
1990-07-01
|
2KB
|
66 lines
SAV-DBLR & RES-DBLR -=- Utilities for D'Bridge/QuickBBS/RemoteAccess
Purpose:
SAV-DBLR and RES-DBLR are for use by SysOps who use the D'Bridge editor
(DBEDIT.EXE) to access their QuickBBS or RemoteAccess messages. These
utilities will keep the D'Bridge record of lastread messages accurate even
when the messagebase has been packed and renumbered.
Usage:
The SAV-DBLR program will translate the D'Bridge lastread message pointers
into the BBS lastread pointer file. The program accomodates multiple
authorized users in the D'Bridge configuration as long as the BBS USERS.BBS
file has the user names sorted in the same order as the names were defined
in the D'Bridge setup. SAV-DBLR checks for proper user name positioning in
USERS.BBS.
The RES-DBLR translates the BBS lastread message pointers back into the
D'Bridge pointer file after messagebase maintenance is completed. RES-DBLR
checks the BBS message header file for valid message record pointers, and
writes them to the D'Bridge pointer file as well.
Both utilities require DOS environment variables to be set which define the
directories containing the BBS and D'Bridge pointer files. Prior to running
either program, use the DOS SET command:
SET BBS=E:\QUICKBBS
SET DBRIDGE=E:\DB
If one of the utilities encounters a missing file, an error message will be
displayed on the screen, and the DOS Errorlevel will be set to the value 1.
If an unanticipated error occurs, the Errorlevel will be set to the value 2.
Example Batch file fragment - use during nightly maintenance:
COPY LASTREAD.BBS SAVEDLR.BBS
COPY E:\DB\DBRIDGE.LRQ SAVEDLR.LRQ
SAV-DBLR
MBUTIL PACK -FORCE -DELETE
RES-DBLR
IF ERRORLEVEL 1 ECHO Error during Messagebase Maintenance >> E:\DB\DB.LOG
IF ERRORLEVEL 1 COPY SAVEDLR.BBS LASTREAD.BBS
IF ERRORLEVEL 1 COPY SAVEDLR.LRQ E:\DB\DBRIDGE.LRQ
IF ERRORLEVEL 1 GOTO QUIT
DEL SAVEDLR.BBS
DEL SAVEDLR.LRQ
:QUIT
MBUTIL LINK
Disclaimer:
These programs are not guaranteed to function properly on your system, and
you use them entirely at your own risk. The author takes no responsibility
of any kind for the consequences of using SAV-DBLR.EXE or RES-DBLR.EXE.
Questions, comments, and suggestions are welcome. You may contact me via
netmail at FidoNet 1:105/360 or NetWork 8:77/14.
Dave Emory